const Business = {
  path: "/business",
  meta: {
    title: "运营服务",
    sort: 4,
  },
  redirect: "/business/card/list",
  img: new URL("@/assets/image/ico/business.png",
      import.meta.url)
    .href,
  imgActive: new URL(
    "@/assets/image/ico/business-blue.png",
    import.meta.url
  ).href,
  children: [{
      path: "/business/card",
      meta: {
        title: "车卡管理",
        sort: 1,
      },
      // component: () => import("@/view/business/card/index.vue"),
      children: [{
          path: '/business/card/list',
          meta: {
            title: '车卡办理',
            sort: 1,
          },
          component: () => import("@/view/business/card/parkCard/index.vue")
        },
        {
          path: '/business/card/type',
          meta: {
            title: '车卡类型',
            sort: 2,
          },
          component: () => import("@/view/business/card/typeCard/index.vue")
        },
        {
          path: "/business/card/payment",
          meta: {
            title: '卡缴费记录',
            sort: 3
          },
          component: () => import("@/view/business/card/payment/index.vue")
        }
      ]
    },
    {
      path: "/business/owner",
      meta: {
        title: "车主服务",
        sort: 2
      },
      // component: () => import("@/view/business/owner/index.vue")
      children: [{
          path: "/business/owner/arrears",
          meta: {
            title: "欠费排名",
            sort: 1,
          },
          component: () =>
            import(
              "@/view/business/owner/arrears/index.vue"
            ),
        },
        {
          path: '/business/owner/carAttestation',
          meta: {
            title: '车辆认证',
            sort: 2,
          },
          component: () => import("@/view/business/owner/carAttestation/index.vue")
        }, {
          path: '/business/owner/bInfo',
          meta: {
            title: '基础信息',
            sort: 3,
          },
          img: new URL(
            "@/assets/image/ico/operationManagements/carOwners.png",
            import.meta.url
          ).href,
          imgActive: new URL(
            "@/assets/image/ico/operationManagements/carOwners-white.png",
            import.meta.url
          ).href,
          component: () => import("@/view/business/owner/bInfo/index.vue")
        }, {
          path: "/business/owner/bInfo/details",
          meta: {
            title: "车主详情",
            activePath: "/business/owner/bInfo",
            hidden: true,
          },
          component: () =>
            import(
              "@/view/business/owner/bInfo/components/index.vue"
            ),
        },

      ]
    },
  ],
};

export default Business;